<template>
  <div id="default">
    <Header />
    <slot />
    <Footer />
  </div>
</template>
<script lang="ts">
export default {
  setup() {
    if(process.client) {
      console.log(111)
       var _hmt = _hmt || [];
      (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?5db1ccbe6285b75fdd4b26d0f843e840";
        var s = document.getElementsByTagName("script")[0]; 
        s.parentNode.insertBefore(hm, s);
      })(); 
    }
    return {}
  },
}
</script>

<style lang="scss" scoped>
#default {
  background-color: white !important;
}
// * {
//   // 禁止选中文字
//   moz-user-select: -moz-none;
//   -moz-user-select: none;
//   -o-user-select: none;
//   -khtml-user-select: none;
//   -webkit-user-select: none;
//   -ms-user-select: none;
//   user-select: none;
// }
</style>
